<%@page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@include file="/common/definition.jsp"%>
<%@ page language="java" import="java.util.*"%>
<html:html>
<tiles:insert beanName="shop-definition" flush="true">
	<tiles:put name="title"> Welcome </tiles:put>
	<tiles:put name="body" type="string">
		<div class="col-md-offset-1 col-md-7 mainHome">
			<div class="col-md-12 text-center">
				<h1>Đăng bán sản phẩm</h1>
			</div>
			<s:form action="confirmSaleType" cssClass="form-horizontal" role="form"
				theme="simple">
				<div class="form-group">
					<label class="col-sm-3 control-label" style="padding-top: 0">Tên
						sản phẩm:</label>
					<div class="col-sm-9">
						<strong><s:property value="productInfo.productName" />
						</strong>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label" style="padding-top: 0">Danh
						mục:</label>
					<div class="col-sm-9">
						<strong><s:property value="productInfo.catName" /> </strong>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label" style="padding-top: 0">Nhà
						sản xuất:</label>
					<div class="col-sm-3 ">
						<strong><s:property value="productInfo.brandName" /> </strong>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 control-label">Chọn thông tin hiển thị:</label>
					<div class="col-sm-5 ">
						<select name="saleType" class="form-control ">
							<option value="0">Thông tin website</option>
							<option value="1">Thông tin của cửa hàng</option>
						</select>
					</div>
				</div>
				<s:hidden name="productID" value="%{productInfo.productID}" />
				<div class="form-group">
					<div class="col-sm-offset-3 col-sm-10">
						<button type="submit" class="btn btn-primary btn-sm">Tiếp
							tục</button>
						<s:a action="addShopProductLink"
							cssClass="btn btn-default btn-lg btn-sm" role="button">Trở lại <s:param
								name="sortType" value="1" />
						</s:a>
					</div>
				</div>
			</s:form>
		</div>
	</tiles:put>
</tiles:insert>
</html:html>
